package com.yzh.pinboard.BoardView;

/**
 * Created by Rex on 2017/2/22.
 */

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;

import java.util.ArrayList;
import java.util.List;


public class BoardTest extends  View{

    private  Canvas canvas;
    private List<Point> points=new ArrayList<Point>();
    private Path mPath = new Path();
    private Bitmap mBitmap=null;
    private Paint paint= new Paint();
    private float boardWidth=0;
    private float boardHeight=0;
    private  Clip showClip;
    private  Stroke writingStroke;

    public BoardTest(Context context, AttributeSet attrs) {

        super(context, attrs);
        mBitmap = Bitmap.createBitmap(1500,1000, Bitmap.Config.ARGB_8888);
        canvas = new Canvas(mBitmap);
        canvas.drawColor(Color.BLUE);


    }

}
